<?php
include_once("../../../common/modules/checkA.php");
include_once("../../../../config.php");
?>





<?php
$new_detail_nid=$_GET['nid'];

//设置需要搜索的表格的前缀后缀
$table_Suffix="banner";
$table=$table_Prefix.$table_Suffix;
//设置需要搜索的表格的前缀后缀


$sql = " DELETE FROM $table WHERE nid=$new_detail_nid";
$query=do_query($sql) or die ('删除数据失败');
mysqli_close($con);

echo 1;//表示成功


?>


